Skip to content

Fix command substitution permission nag in submit-for-review#139

Merged
sebastientaggart merged 1 commit into
devfrom
feature/fix-command-substitution
Apr 13, 2026
Merged

Fix command substitution permission nag in submit-for-review#139
sebastientaggart merged 1 commit into
devfrom
feature/fix-command-substitution

Conversation

@sebastientaggart

Copy link
Copy Markdown
Member

Replace cd "$(git rev-parse --show-toplevel)" command substitution with a two-step pattern (run git rev-parse first, then cd into the result) in the submit-for-review skill. This eliminates the Claude Code $() command substitution permission prompt that could not be permanently allowed, restoring fully automatic workflow execution.

Issue #137

@sebastientaggart

Copy link
Copy Markdown
Member Author

Review Summary

Verdict: APPROVE

Findings

No issues found. Code looks correct and follows project conventions.

The change replaces cd "$(git rev-parse --show-toplevel)" with a two-step pattern (git rev-parse --show-toplevel then cd <repo-root>) in both the source skill template and all four adapter outputs (codex, claude, cursor, gemini). This correctly addresses the Claude Code $() command substitution permission prompt described in the PR. The adapters are consistent with the source, and the sync hashes are updated as expected.

@sebastientaggart
sebastientaggart merged commit 1416689 into dev Apr 13, 2026
6 checks passed
@sebastientaggart
sebastientaggart deleted the feature/fix-command-substitution branch April 13, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant